#ifndef _SPELLCHECK_H
#define _SPELLCHECK_H

#include  <string>
#include <set>

namespace spellcheck {
	class Dictionary {
		std::set<std::string> word_set;

		public:
		 // Had to take reference to make compilation work.
		 explicit Dictionary(std::ifstream& dict_file);

		 ~Dictionary() {};

		 bool check(const std::string& word);
	};
};

#endif /* ! _SPELLCHECK_H */
